import { defineStore } from 'pinia'
import { ref } from 'vue'

export const userCollapseStore = defineStore('collapse', () => {
  const collapse = ref<boolean>(false)

  const handleCollapse = function (){
    collapse.value = !collapse.value
  }

  return {
    collapse,
    handleCollapse
  }
})